﻿using Radius.NET.Interface.Kingdee.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Radius.NET.Interface.Kingdee.Entity
{
    /// <summary>
    /// BOM清单
    /// </summary>
    public class ENG_BOM_Dto
    {
        /// <summary>
        /// 配方编码
        /// </summary>
        public string FNumber {  get; set; }
        /// <summary>
        /// 主产品编码
        /// </summary>
        [KingdeeColumn("FMATERIALID.FNumber")]
        public string FMaterialIdFNumber { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime FCreateDate { get; set; }
        /// <summary>
        /// 管理者
        /// </summary>
        [KingdeeColumn("FApproverId.FName")]
        public string FApproverIdFNumber { get; set; }
        /// <summary>
        /// 创建者
        /// </summary>
        public string FCreatorId { get; set; }
    }
    /// <summary>
    /// BOM清单材料明细
    /// </summary>
    public class ENG_BOM_Child_Dto
    {
        /// <summary>
        /// 主产品编码
        /// </summary>
        [KingdeeColumn("FMATERIALID.FNumber")]
        public string FMaterialIdFNumber { get; set; }
        /// <summary>
        /// 原材料编码
        /// </summary>
        [KingdeeColumn("FMATERIALIDCHILD.FNumber")]
        public string FMaterialIdChildFNumber { get; set; }

        /// <summary>
        /// 工艺序号
        /// </summary>
        public int FReplaceGroup { get; set; }
        /// <summary>
        /// 标准用量
        /// </summary>
        public double FNUMERATOR { get; set; }
    }
}
